package com.xqboss.apps.dto.equipment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Administrator
 */
@Data
@ApiModel
public class EquipmentUpgradeHoldDto {

    @ApiModelProperty("配置ID")
    @NotNull(message = "请输入配置ID")
    private Long id;

    @ApiModelProperty("是否检测持仓")
//    @NotNull(message = "请输入持仓状态")
    private Boolean detectHold;

    @ApiModelProperty("0修改持仓，1修改模式开关")
    private Integer type;

    @ApiModelProperty("升级模式1开关")
    private Boolean modeOneEnable;

    @ApiModelProperty("升级模式2开关")
    private Boolean modeTwoEnable;
}
